
/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2006</p>
 * <p>CreateTime: 2006-3-30 </p>
 * @author pengz
 * @version 1.0
 */


package cn.agiledata.bank.myspace.service;

import java.util.HashMap;
import java.util.List;

import com.vnv.infrastructure.exception.IPBException;
import com.vnv.infrastructure.logic.IPBMgrFactory;
import com.vnv.infrastructure.logic.IPBPagingProxy;

public class AccountQueryPagingProxy implements IPBPagingProxy{
	private IMySpaceService mgr;

    public AccountQueryPagingProxy() throws IPBException {
        mgr = (IMySpaceService) IPBMgrFactory.getMgr(IMySpaceService.MGR_ID);
    }
    
    public List getObjectListByPage(HashMap params, int pageNo, int recordPerPage, String sortCol, String sortOrder)
    throws IPBException{
    	return mgr.accountHisQueryList(params, pageNo, recordPerPage);
}

/**
*
* @param params
* @return
* @throws IPBException
*/
	public int getTotalCount(HashMap params) throws IPBException{
		return mgr.accountHisQueryCount(params);
	}
}
